import Joi from '@hapi/joi';

export const loginRule = {
  body: {
    username: Joi.string()
      .trim()
      .required(),
    password: Joi.string()
      .trim()
      .required(),
  },
};
